package com.zhangh.summer.admin.support.aop.tx;

/**
 * @description: 数据源类型
 * @author: zhanghui  zhanghlucky@163.com
 * @create: 2021-03-18 22:50
 **/
public enum DsTypeEnum {
    DS(0,"普通数据源"),
    SHARD(1,"shard");
    private final int code;
    private final String displayName;

    DsTypeEnum(int code, String displayName){
        this.code=code;
        this.displayName=displayName;
    }
    public int getCode(){
        return code;
    }
    public String getDisplayName(){
        return displayName;
    }
}
